This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.
This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.
The list of the themes | Global methods by category | Global methods by name | The list of the classes | The list of the controls |
class SharedObject | ||||
class, SharedObject | So, 28. Apr 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Does nothing. | Windows: Works. | ||
Function:
Allows you to Share Memory between applications. | ||||
Notes:
Mostly used to see if another instance of your app is running. | ||||
Content as Memoryblock | ||||
method, SharedObject | So, 28. Apr 2002 | |||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: Works. | ||
Function:
Gives you a memoryblock for the SharedObject's content if you have successfully created a shared object. | ||||
Example:
m=f.content | ||||
Create(name as string,size as integer) as boolean | ||||
method, SharedObject | So, 28. Apr 2002 | |||
Mac OS Classic: Allways returns false. | Mac OS Carbon: Allways returns false. | Windows: Works. | ||
Function:
Creates a shared object with the given name and size. | ||||
Notes:
Name is required. size can be aligned to the memory page size which is most times 4096 bytes. | ||||
Open(name as string) as boolean | ||||
method, SharedObject | So, 28. Apr 2002 | |||
Mac OS Classic: Allways returns false. | Mac OS Carbon: Allways returns false. | Windows: Works. | ||
Function:
Opens a shared object with the given name. | ||||
Notes:
Name is required. | ||||
Size as integer | ||||
property, SharedObject | So, 28. Apr 2002 | |||
Mac OS Classic: Is allways 0. | Mac OS Carbon: Is allways 0. | Windows: Works. | ||
Function:
Returns the size of the shared object. | ||||
Example:
msgbox "I'm "+str(f.size)+" bytes big." | ||||
Notes:
If you created the object using Open this size is allways 0. |
Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.